export default [
  {
    path: 'space/roomland/roomLandForm/:id',
    name: '土地管理',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/roomland/roomLandForm'),
    meta: {
      title: '土地管理'
    }
  },
  {
    path: 'space/fyroomregional/regionalForm/:id',
    name: '区域管理',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/regional/regionalForm'),
    meta: {
      title: '区域管理'
    }
  },
  {
    path: 'space/fyroomedifice/edificeForm/:id',
    name: '楼栋管理',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/edifice/edificeForm'),
    meta: {
      title: '楼栋管理'
    }
  },
  {
    path: 'space/fyroomstorey/storeyForm/:id',
    name: '楼层管理',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/storey/storeyForm'),
    meta: {
      title: '楼层管理'
    }
  },
  {
    path: 'space/fyroomstorey/storeyBatchForm/:id',
    name: '批量新增楼层',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/storey/storeyBatchForm'),
    meta: {
      title: '批量新增楼层'
    }
  },
  {
    path: 'space/fyroomhouse/houseForm/:id',
    name: '房屋管理',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/house/houseForm'),
    meta: {
      title: '房屋管理'
    }
  },
  {
    path: 'space/fyroomposition/positionForm/:id',
    name: '位置管理',
    props(route) {
      return { ...route.query, ...route.params }
    },
    component: () => import('@/module/space/position/positionForm'),
    meta: {
      title: '位置管理'
    }
  }
]
